package com.yilian.xlmusic.android.view.bean;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

public class SharedViewModel extends ViewModel {
    private final MutableLiveData<SharedMessage> selected = new MutableLiveData<>();

    public void select(SharedMessage value) {
        selected.setValue(value);
    }

    public LiveData<SharedMessage> getSelected() {
        return selected;
    }
}
